#ifndef __LCD_SPI_H
#define __LCD_SPI_H

#include "public.h"
#define LCD_FRAME_BUF_ADDR 0xC0000000
#define LCD_WIDTH 480
#define LCD_HEIGHT 480

extern uint16_t* screen_addr;

/* *
 * @author		
 * @name  		
 * @brief 		
 * @param[in] 	

 * @return 		int 			: 
 * 
 * */
void lcd_init(void);
void LTDC_Clear(uint32_t color);

void ltdc_color_fill(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t *px_map, uint32_t framebuffer);
#endif
